<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>webpack-project</title>
</head>

<body>
  <a href="./details.html"><button>查看详情</button></a>
  <div class="less">
    <div>{{newData}}</div>
    <button @click="onShowImgView">显示/隐藏</button>
    <div class="less-bg" v-show="isShow"></div>
  </div>
</body>

</html>